<div class="left_body">
	<? foreach ($catalog as $key => $item): ?>
		<? if (($key == 0 && empty($parent_id)) || $parent_id == $item->id): ?>
			<div class="left_menu_cont">
				<a href="javascript:void(0)" class="t21 dotted" category_id="<?= $item->id ?>"><?= $item->title ?></a>
				<? $submenu = ORM::factory('Categories')->get_childrens($item->id) ?>
				<div class="submenu">
					<? foreach ($submenu as $sub_key => $sub_item): ?>
						<? ($sub_item->id == Request::$current->param('id')) ? $active = '_active' : $active = '' ?>
						<a href="<?= URL::site('category/'.$sub_item->id) ?>"><div class="left_menu<?= $active ?>"><?= $sub_item->title ?></div></a>
					<? endforeach ?>
				</div>
			</div>
		<? else: ?>
			<div class="left_menu_cont">
				<a href="javascript:void(0)" class="t21 dotted" category_id="<?= $item->id ?>"><?= $item->title ?></a>
			</div>
		<? endif ?>
	<? endforeach ?>
	<div class="left_body2">
		<p><?= $sitetext['official']['_value'] ?></p>
		<div style="margin-top: 30px;"><a href="http://www.kronostar.com"><img src="<?= URL::site('static/css/images/kronostar.jpg') ?>" alt="" /></a></div>
		<div style="margin-top: 30px;"><a href="http://www.krono.com/"><img src="<?= URL::site('static/css/images/krono.jpg') ?>" alt="" /></a></div>
		<h2><?= $sitetext['contact_information']['_value'] ?></h2>
		<p class="t12"><?= $sitetext['contact_information_body']['_value'] ?></p>
		<h2><?= $sitetext['dealers_map']['_value'] ?></h2>
		<a href="<?= URL::site('map') ?>"><img src="<?= URL::site('static/css/images/map.jpg') ?>" alt="" /></a>
		<div style="margin-top: 60px;"><a target="_blank" href="http://www.sberbank.kz/ru/val_curs.php"><img src="<?= URL::site('static/css/images/bank.png') ?>" alt="" /></a></div>
	</div>
</div>